import { post } from '@/api/http'

// 列表查询
export const getMemberList = (data) => post({ url: '/czcCustMember/pageList', data })

// 导出
export const memberExportExcel = (data) => post({ url: '/czcCustMember/exportExcel', data })

// 状态变更记录列表
export const statusRecordList = (data) => post({ url: '/czcCustMember/statusRecordList', data })

// 状态变更记录详情
export const statusRecordDetail = (data) => post({ url: '/czcCustMember/statusRecordDetail', data })

// 页面配置
export const getEnums = (data) => post({ url: '/czcCustMember/getEnums', data })

// 添加会员标签
export const addLabel = (data) => post({ url: '/czcCustMember/addLabel', data })

// 详情
export const getDetail = (data) => post({ url: '/czcCustMember/detail', data })

// 拉黑
export const toblock = (data) => post({ url: '/czcCustMember/block', data })

// 恢复
export const tonormal = (data) => post({ url: '/czcCustMember/normal', data })

// 新增&编辑会员
export const createUpdate = (data) => post({ url: '/czcCustMember/createUpdate', data })

// ocr身份证 正
export const resolveIdCardFront = (data) => post({ url: '/ocr/resolveIdCardFront', data })

// ocr护照
export const resolvePassport = (data) => post({ url: '/ocr/resolvePassport', data })

// ocr身份证 反
export const resolveIdCardBack = (data) => post({ url: '/ocr/resolveIdCardBack', data })

// ocr驾驶证 正
export const resolveDriveCardFront = (data) => post({ url: '/ocr/resolveDriveCardFront', data })

// ocr驾驶证 反
export const resolveDriveCardBack = (data) => post({ url: '/ocr/resolveDriveCardBack', data })

// ocr行驶证识别 正
export const resolveDrivingLicense = (data) => post({ url: '/ocr/resolveDrivingLicense', data })

// ocr行驶证识别 反
export const resolveBackDrivingLicense = (data) => post({ url: '/ocr/resolveBackDrivingLicense', data })

// 营业执照识别
export const resolveBusinessLicense = (data) => post({ url: '/ocr/resolveBusinessLicense', data })

// 年检证识别
export const resolveInspection = (data) => post({ url: '/ocr/resolveInspection', data })

// 按文件id获取文件信息获取
export const getFileInfo = (data) => post({ url: '/uploadFile/getFileInfo', data })

// 短租列表
export const sOrderList = (data) => post({ url: '/sOrder/pageList', data })

// 更新会员驾驶证附件
export const uploadDriverFile = (data) => post({ url: '/czcCustMember/uploadDriverFile', data })

// 更新会员身份证附件
export const uploadIdCardFile = (data) => post({ url: '/czcCustMember/uploadIdCardFile', data })

// 长租列表
export const lOrderList = (data) => post({ url: '/czsOrderInfo/pageList', data })
